package com.lemon.cloud.interceptor;

import com.lemon.cloud.command.Command;
import com.lemon.cloud.representation.Response;

/**
 * @author lemon
 * @version 1.0
 * @description: TODO
 * @date Create by lemon on 2019-09-14 18:15
 */
public interface CommandInterceptor {
    default <C extends Command> void preCommand(C command) {
    }

    default <R extends Response, C extends Command> void postCommand(C command, R response) {
    }
}
